package cn.gdrj.est.service;

import com.alipay.api.AlipayApiException;

import java.util.Map;

/**
 * TODO(这里用一句话描述这个类的作用)
 *
 * @author jun
 * @date 2021/11/16
 */
public interface PayService {
    /**
     * 支付定金
     * @param orderNo
     * @return
     * @throws Exception
     */
    String paySubscription(String orderNo) throws  Exception;

    /**
     * 对支付异步回调的处理
     * @param params
     * @return
     */
    String aliPayNotify(Map<String, String> params) throws AlipayApiException;

    boolean isSignVerified(Map<String, String> params) throws AlipayApiException;
}
